#define _CRT_SECURE_NO_WARNINGS 1
#include"Double_List.h"
int main()
{
	ListNode* phead = ListCreate();
	ListPushBack(phead, 1);
	ListPushBack(phead, 2);

	ListNode* index = ListFind(phead,2);
	ListInsert(index, 999);
	ListInsert(index, 999);
	ListInsert(index, 999);
	ListInsert(index, 999);
	ListNode* index02 = ListFind(phead, 999);

	ListErase(index02);

	ListPrint(phead);


	ListDestory(phead);
	return 0;
}